import Vue from 'vue'
import Router from 'vue-router'
import Pos from '@/components/Pos'
import Goods from '@/components/Goods'
import Member from '@/components/Member'
import Setting from '@/components/Setting'
import Statistics from '@/components/Statistics'
import Store from '@/components/Store'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'pos',
      component: Pos
    }, {
      path: '/goods',
      name: 'goods',
      component: Goods
    }, {
      path: '/member',
      name: 'member',
      component: Member
    }, {
      path: '/setting',
      name: 'setting',
      component: Setting
    }, {
      path: '/statistics',
      name: 'statistics',
      component: Statistics
    }, {
      path: '/store',
      name: 'store',
      component: Store
    }
  ]
})
